﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="orderDetails_Look.aspx.cs" Inherits="Dryricenet.houTai.orderDetails_Look" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
        <table width="98%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#1c232f"
            style="border-collapse: collapse">
            <tbody>
                <tr class="tr2">
                    <td bgcolor="#1c232f" style="padding-left: 5px; height: 25px;text-align:center;color:#ffffff;">订单项信息</td>
                </tr>
                <tr class="tr1">
                    <td style="padding-left: 5px; height: 25px">
                       <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%" EmptyDataText="未查询到数据" Font-Size="16px" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
                            <Columns>
                                <asp:BoundField DataField="OrderDetailsID" HeaderText="编号">
                                    <ControlStyle Width="80px" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="80px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Ordertitle" HeaderText="订单号">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="200px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="FoodName" HeaderText="菜品名称">
                                <ControlStyle Width="240px" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="240px" />
                                </asp:BoundField>
                                <asp:ImageField DataImageUrlField="PicUrl" HeaderText="图片">
                                    <ControlStyle Height="160px" Width="256px" />
                                    <ItemStyle Height="160px" HorizontalAlign="Center" VerticalAlign="Middle" Width="256px" />
                                </asp:ImageField>
                                <asp:BoundField DataField="number" HeaderText="商品数量">
                                    <ControlStyle Width="100px" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="OrderName" HeaderText="用户">
                                    <ControlStyle Width="170px" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="170px" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="操作">
                                    <ControlStyle Width="150px" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="150px" />
                                    <ItemTemplate>
                                        <a href='orderDetails_Details.aspx?orderDetailsID=<%#DataBinder.Eval(Container.DataItem,"OrderDetailsID") %>' >详细</a>
                                        
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
                <tr class="tr1">
                    <td bgcolor="#1c232f" style="padding-left: 5px; height: 25px">
                        <asp:Label ID="Label1" runat="server" Text="Label" ForeColor="White"></asp:Label>
                        <input type="button" name="Submit5" value="返回" onclick="javascript:history.back();" />
                       
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
